package com.xja;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;


/**
 * @author 周广瑞
 * @date 2022/4/24 16:5
 */
@SpringBootApplication
@EnableDiscoveryClient
@EnableFeignClients
public class BookServiceStart {
//    @Bean
//    @LoadBalanced
//    public RestTemplate restTemplate(){
//        return new RestTemplate();
//    }

    public static void main(String[] args) {
        SpringApplication.run(BookServiceStart.class,args);
        System.out.println("图书启动");
    }
}
